#ifndef __LOGGER_H__
#define __LOGGER_H__
/** 
 * low cost logging code
 **/
#define LOGDIR "/tmp"
#define CLUPSD_ERROR 	1
#define CLUPSD_WARN  	2
#define CLUPSD_NOTICE 3
#define CLUPSD_DEBUG  4

FILE* logger_init();
int   logger_close();
int   logger_log(char *fmt, ...);
int clupsdLogMessage(int level, const char *fmt, ...);

#endif

